<%@ page language="java" import="java.util.*" pageEncoding="utf-8"
	isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
    String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>华天下后台管理系统</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="../js/jquery-2.1.4.min.js"></script>
<script type="text/javascript">
$(function(){	
	//顶部导航切换
	$(".nav li a").click(function(){
		$(".nav li a.selected").removeClass("selected")
		$(this).addClass("selected");
	})	
})

//获取系统时间
function current(){ 
    var d=new Date(),str=''; 
    str +=d.getFullYear()+'年'; //获取当前年份 
    str +=d.getMonth()+1+'月'; //获取当前月份（0——11） 
    str +=d.getDate()+'日'; 
    str +=d.getHours()+'时'; 
    str +=d.getMinutes()+'分'; 
    str +=d.getSeconds()+'秒'; 
    return str;
} 
setInterval(function(){
    $("#systime").html(current)
},100);	
</script>
</head>

<body style="background:url(../images/topbg.gif) repeat-x;">
<div class="topleft"> <a href="#"></a> </div>
<!-- <ul class="nav">
  <li><a target="rightFrame"><img src="../images/icon09.png" title="客人入住" />
    <h2>消息推送</h2>
    </a></li>
    <li><a target="rightFrame"><img src="../images/icon02.png" title="添加订单" />
    <h2>新闻中心</h2>
    </a></li>
    <li><a target="rightFrame"><img src="../images/icon13.png" title="会员信息" style="width:45px; height:45px;"/>
    <h2>会员信息</h2>
    </a></li>
    <li><a target="rightFrame"><img src="../images/ICO-066.png" title="客房信息"/>
    <h2>人力资源</h2>
    </a></li>
</ul> -->
<center>
<div class="systime">
  <span id="systime" style="margin-left:-100px;"></span>
</div>
</center>
<div class="topright">
  <ul>
  
   <%--  <li><a href="/Resource/servlet/ChangeMyselfServlet?id=${id1}" target="_parent">修改</a></li> --%>
    <li><a href="<%=request.getContextPath()%>/sysUser/selectSysUserInfo?sys_id=${user.sys_id}" target="rightFrame">修改密码</a></li>
    <li><a href="<%=request.getContextPath()%>/sysUser/loginout" target="_parent">退出</a></li>
  </ul>
  <div class="user"><a id="MM"> <span>${user.sys_name}-${user.sys_role_name }</span></a> </div>
</div>
 <div id="top" style = 'width: 100%;height: 100%;position: fixed;top: 0; display: none; left: 0;background: rgba(0,0,0,.5);'></div>

</body>
</html>
